//package com.itbaima.service.impl;
//
//import com.itbaima.mapper.HrSalaryMapper;
//import com.itbaima.pojo.entity.HrSalary;
//import com.itbaima.service.HrSalaryService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//
//@Service
//public class HrSalaryServiceImpl implements HrSalaryService {
//
//    @Autowired
//    private HrSalaryMapper hrSalaryMapper;
//
//    @Override
//    public List<HrSalary> getAllHrSalary() {
//        // 获取所有薪酬数据
//        System.out.println("数据为："+hrSalaryMapper.getAllHrSalary());
//        return hrSalaryMapper.getAllHrSalary();
//
//    }
//
//    @Override
//    public HrSalary getHrSalaryByDepartmentAndSalaryId(Integer departmentId, Integer salaryId) {
//        // 根据部门ID和薪酬标准ID获取特定薪酬数据
//        return hrSalaryMapper.getHrSalaryByDepartmentAndSalaryId(departmentId, salaryId);
//    }
//
//    @Override
//    public int updateHrSalary(HrSalary hrSalary) {
//        // 更新薪酬数据
//        return hrSalaryMapper.updateHrSalary(hrSalary);
//    }
//}
//
